package cn.com.lms.business.exam.web.vo;

import cn.com.lms.business.exam.persistence.entity.QuestionSubjectOption;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.persistence.Transient;
import java.util.List;

@Data
public class QuestionSubjectExportVO {
    @Schema(description = "题目ID")
    private Long subjectId;

    @Schema(description = "题目")
    private String subject;

    @Schema(description = "题型 1-单选题 2-多选题 3判断题 4填空题 5问答题")
    private Short type;

    @Schema(description = "答案解析")
    private String parse;

    @Schema(description = "正确答案")
    private String answer;



    @Schema(description = "选项列表")
    @Transient
    private List<QuestionSubjectOption> questionSubjectOptionList;
}
